package com.ruoyi.order.enums;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public enum OrderStatusEnum {
    /**
     * 待入库
     */
    BEFORE_ENTER_WAREHOUSE("1", "待入库"),

    /**
     * 充电中
     */
    BEFORE_TEST("2", "待检测"),

    /**
     * 停止中
     */
    TESTING("3", "检测中"),

    /**
     * 已检测
     */
    TESTED("4", "已检测"),

    /**
     * 已出库
     */
    AFTER_OUT_WAREHOUSE("5", "已出库"),

    /**
     * 已发货
     */
    AFTER_DELIVERY("6", "已发货");

    /**
     * code
     */
    private String code;

    /**
     * msg
     */
    private String msg;

    OrderStatusEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
